Get pressure
Function list: getSupportGetPressureSwitchInfo
Flutter Example:
/// Get the pressure event number
/// Get pressure
libManager.send(evt: CmdEvtType.getStressSwitch, json: jsonEncode(json));
json fields received by App :
Field Name | Field Type | Field Description | |
---|---|---|---|
on_off | int | Switch status 1: enabled 0: disabled -1: invalid |
|
start_hour | int | indicates the switch time range or the start time of the reminder time range | |
start_minute | int | is the start time of the switch time range or reminder time range | |
end_hour | int | indicates the enabled time range or the end time of the notification time range | |
end_minute | int | is the switching time range and reminding end time range | |
remind_on_off | int | pressure reminder 1: on 0: off -1: invalid |
|
repeat | int | Reserve | |
interval | int | Alert interval Unit minute The default is 60 minutes |
|
high_threshold | int | The pressure threshold | |
stress_threshold | int | Notification type 0: invalid 1: Stress_allowed 2: silent notification 3: stress_threshold Close to inform < br / > menu getPressureNotifyFlagMode open |
effectively |
notify_flag | int | < br / > threshold function table v2SendCalibrationThreshold open |
effectively |
Example:
```c {
}
`